package com.example.inventorywarningdemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author Survive
 * @date 2025/3/11
 * @description TODO
 */
@Data
@TableName("mt_store")
public class Store {
    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField("NAME")
    private String storeName;
    private BigDecimal dailySales; //当天营业额
    @TableField("threshold")
    private BigDecimal warningThreshold;  // 保留预警阈值字段
}